package exceptions

import "errors"

type BusinessException struct {
	error
	Message string
}

func NewBusinessException(msg string) BusinessException {
	exception := BusinessException{}
	exception.Message = msg
	exception.error = errors.New(msg)
	return exception
}
